<!--#include file="includes/header_without_link.html"-->
<div style="display: none;" id="paymentdetails_table_container">
	<div id="rightside" class="full_size">
    	
    	<article>
        	<header><h2>Update Payment Details</h2></header>
            <div class="group" id="createDiv">
            	<div class="lblDiv">Payment Date:</div>
                <div class="cntrlDiv"><input type="text" name="" id="pymt_date" class="calTxtBox" onfocus="showCalendarControl(this);"/></div>
                <div class="lblDiv">Supllier:</div>
                <div class="cntrlDiv">
                	<select id="pymt_supplier" onchange="pymt_selsupplier();"></select>
                </div>	
                <div class="lblDiv">Payment Method:</div>
                <div class="cntrlDiv">
						<input type="radio" value="Check" name="pymt_method_rdo" id="pymt_method_check" onclick="javascript:pymt_selpmtmethod();">&nbsp;Check
						<input type="radio" value="EFT" name="pymt_method_rdo" id="pymt_method_eft" onclick="javascript:pymt_selpmtmethod();">&nbsp;EFT
						<input type="radio" value="Other" name="pymt_method_rdo" id="pymt_method_other" onclick="javascript:pymt_selpmtmethod();">&nbsp;Other
				</div>
                <div class="lblDiv">Payment sent to:</div>
                <div class="cntrlDiv">
                	<select id="pymy_supplocation"></select></div>
                 <div class="fullDiv" id="pymt_notmethod_details" >
                 	<br/>
                    <br/>
                    No Payment Method selected.
                    <br/>
                    <br/>
                 </div>
				 <div id="pymt_check_details" class="fullDiv" style="display:none;">
					<br>
					<table width="100%" border="0">
						<tbody><tr>
							<td style="border: 0;"><label for="pymt_checknum">Check #:&nbsp;&nbsp;</label></td>
							<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_checknum" value="" size="30"></td>
							<td style="border: 0;"><label for="pymt_checkdate">Check Date:&nbsp;&nbsp;</label></td>
							<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_checkdate" value="" size="30"></td>
						</tr>
					<tr>
							<td colspan="2" style="border: 0;">&nbsp;</td>
						</tr>
						<tr>
							<td style="border: 0;"><label for="pymt_checkbank">Bank drawn on:&nbsp;&nbsp;</label></td>
							<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_checkbank" value="" size="30"></td>
							<td style="border: 0;"><label for="pymt_checkamt">Total Check Amount:&nbsp;&nbsp;</label></td>
							<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_checkamt" value="" size="30"></td>
							<td style="border: 0;">&nbsp;&nbsp;<select id="pymt_checkcurr"><option value="USD">USD</option><option value="other">Other</option></select></td>
							<td style="border: 0;"><label for="pymt_checkcurr">Currency&nbsp;&nbsp;</label></td>
						</tr>
					</tbody></table>
					<br>
				</div>
				
				<div id="pymt_eft_details" style="display:none;">
				<br>
				<table width="100%" border="0">
					<tbody><tr>
						<td style="border: 0;"><label for="pymt_eftacctnum">Account Number #:&nbsp;&nbsp;</label></td>
						<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_eftacctnum" value="" size="30"></td>
						<td style="border: 0;"><label for="pymt_eftroutingnum">ABA / Routing Number:&nbsp;&nbsp;</label></td>
						<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_eftroutingnum" value="" size="30"></td>
					</tr>
				<tr>
						<td colspan="2" style="border: 0;">&nbsp;</td>
					</tr>
					<tr>
						<td style="border: 0;"><label for="pymt_eftbank">Bank:&nbsp;&nbsp;</label></td>
						<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_eftbank" value="" size="30"></td>
						<td style="border: 0;"><label for="pymt_eftamt">Total EFT Amount:&nbsp;&nbsp;</label></td>
						<td style="border: 0;">&nbsp;&nbsp;<input id="pymt_eftamt" value="" size="30"></td>
						<td style="border: 0;">&nbsp;&nbsp;<select id="pymt_eftcurr"><option value="USD">USD</option><option value="other">Other</option></select></td>
						<td style="border: 0;"><label for="pymt_eftcurr">Currency&nbsp;&nbsp;</label></td>
					</tr>
				</tbody></table>
				<br>
				</div>
				<div id="pymt_other_details" style="display:none;">
				Other Payment Method Details to be captured here.
				</div>
				 
            </div>
        </article>
        <article>
        	<header><h2>Invoices Included in this <span id="sel_pymt_method"></span> Payment</h2></header>
            <div class="group" id="createDiv">
            	<div class="fullDiv">
                	<br/>
					<br/>
                    <div id="pymt_lineDetails_yuiTable"></div>
                    <br/>
                    <br/>
                </div>
            	<table>
	            	<tr>
	            	<td width="50%">
            	<div id="commentComponetPlaceHolder4"></div></td>
            	<td width="50%">
            	<td width="50%">
                 <div id="attachmentComponetPlaceHolder4"></div>
                 </td></tr>
                 </table>
            	<div class="btnDiv"><input onclick="javascript:updatepymt();" type="submit" name="" id="" value="Post Payment"></div>
            </div>
        </article>
       
    </div>
</div>

<!--#include file="includes/footer.html"-->